This is a gallery page<br><br>

<?php 
$gallery->setTitle($galleryTitle);
$gallery->setColumns(4);
$gallery->setGalleryItems($galleryItems);
$gallery->setGalleryElement('gallery_shinytext'); // set element name here, comment this line for default
$gallery->setImageOptions(array('clickable'=>true, 'img_size'=>'medium'));
echo $gallery->output();
?>

<?php 
if(isset($this->passedArgs['page']))
{
	unset($this->passedArgs['page']);
}
?>
<div class='clr' ></div>
<div class="paging">
	<?php echo $paginator->prev('<< '.__('previous', true), array('url'=>$this->passedArgs), null, array('class'=>'disabled'));?>
 | 	<?php echo $paginator->numbers(array('url'=>$this->passedArgs));?>
	<?php echo $paginator->next(__('next', true).' >>', array('url'=>$this->passedArgs), null, array('class'=>'disabled'));?>
</div>